package com.itcat.service;

import com.itcat.common.CommonPage;
import com.itcat.mysql.pojo.UmsAdmin;
import com.itcat.mysql.pojo.UmsMenu;
import com.itcat.mysql.vo.UsmMenuVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * [一句话描述该类的功能]
 *
 * @author : [Cr Mr]
 * @version : [v1.0]
 * @date : [2022/4/3 9:00]
 */
@Service
public interface UsmMenuService {
    List<UsmMenuVo> treeList();

    CommonPage<UmsMenu> list(Long parentId, Integer pageNum, Integer pageSize);

    void create(UmsMenu umsMenu);

    void delete(Long id);

    void update(Long id,UmsMenu umsMenu);

    void updateHidden(Long id, Integer hidden);

    UmsMenu getUmsMenu(Long id);
}
